package config;

public class DSConfig {

    private final String url;

    private final String userName;

    private final String userPassword;

    private final int timeout;

    private final int retryTimes;

    public DSConfig(String url, String userName, String userPassword, int timeout, int retryTimes) {
        this.url = url;
        this.userName = userName;
        this.userPassword = userPassword;
        this.timeout = timeout;
        this.retryTimes = retryTimes;
    }

    public String getUrl() {
        return url;
    }

    public String getUserName() {
        return userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public int getTimeout() {
        return timeout;
    }

    public int getRetryTimes() {
        return retryTimes;
    }
}
